package com.github.fancyideas.utils;

import org.springframework.util.DigestUtils;

import java.util.UUID;

public class TokenUtil {


    private TokenUtil() {

    }

    public static String nextToken() {
        return DigestUtils.md5DigestAsHex(UUID.randomUUID().toString().getBytes());
    }
}
